﻿using UnityEngine;
using System.Collections;
using UnityEngine.UI;

public class SceneGameOver : MonoBehaviour
{


    [SerializeField]
    Text txt_info;

    // Use this for initialization
    void Start()
    {
        this.txt_info.text = PublicData.GetInstance()._game_over_info_string;

    }

    // Update is called once per frame
    void Update()
    {

    }


    public void OnBtn_ReturnMain_Clicked()
    {
        SceneMgr.Load(DATA.RES_SCENE_MAIN);


    }

    public void OnBtn_PlayVideo_Clicked()
    {
        PublicData.GetInstance().isVideoMode = true;
        SceneMgr.Load(DATA.RES_SCENE_BATTLE);


    }

}
